#ifndef _RESULT_QUEUE_H
#define _RESULT_QUEUE_H

namespace NetIO
{

class Completed_Queue: public Operation_Queue
{
public:

	Completed_Queue( void );

public:

	~Completed_Queue( void );

	int dequeue_head( Operation *&op );

	int enqueue_tail( Operation *op );

	int concat_queue( Operation_Queue *op_queue );

private:
#ifdef THREAD_SAFE
	Thread_Mutex mutex_;

	Thread_Condition_Mutex condition_;
#endif
};

};
#endif
